package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Location;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;

public interface LocationService {
    List<Location> findAll();

    PageResult queryPage(QueryPageBean queryPageBean);

    Result addLocation(Location location);


    Result deleteById(Integer locationId);

}
